// 引入mock
import Mock from 'mockjs'
import slides from './slides.json'
import floors from './floors.json'

// 制订一个拦截规则 —— 模拟轮播图接口
Mock.mock('http://www.0613.com/slides','get',{
	code:200,
	message:'成功',
	ok:true,
	data:slides
})

// 制订一个拦截规则 —— 模拟楼层接口
Mock.mock('http://www.0613.com/floors','get',{
	code:200,
	message:'成功',
	ok:true,
	data:floors
})